//package org.come.mouslisten;
//
//import com.tool.btn.QianDaoBtn;
//import java.awt.event.MouseEvent;
//import java.awt.event.MouseListener;
//import javax.swing.JLabel;
//import org.come.Frame.QianDaoJframe;
//import org.come.Jpanel.QianDaoJpanel;
//
//public class QianDaoMouslisten implements MouseListener {
//    private String daychoose;
//    private QianDaoJpanel qianDaoJpanel;
//    private QianDaoBtn xuzhaongbtn;
//    private JLabel[] qiandaoday;
//
//    public QianDaoMouslisten(String daychoose, QianDaoJpanel qianDaoJpanel) {
//        this.daychoose = daychoose;
//        this.qianDaoJpanel = qianDaoJpanel;
//    }
//
//    public void mouseClicked(MouseEvent e) {
//        this.qiandaoday = this.qianDaoJpanel.getQiandaoday();
//        this.xuzhaongbtn = (QianDaoBtn)this.qiandaoday[Integer.valueOf(this.daychoose) - 1];
//        if (this.xuzhaongbtn.getType() == 1) {
//            QianDaoJframe.qianDaoJframeJframe().getQianDaoJpanel().chooseqiandao = this.daychoose;
//            if (Integer.valueOf(this.daychoose) < QianDaoJpanel.getNowDay()) {
//                this.qianDaoJpanel.getBuqian().btntypechange(1);
//                this.qianDaoJpanel.getBuqian().btnchange(1);
//            } else if (Integer.valueOf(this.daychoose) > QianDaoJpanel.getNowDay()) {
//                this.qianDaoJpanel.getBuqian().btnchange(-1);
//                this.qianDaoJpanel.getQiandao().btnchange(-1);
//                this.qianDaoJpanel.getBuqian().btntypechange(-1);
//                this.qianDaoJpanel.getQiandao().btntypechange(-1);
//            } else if (Integer.valueOf(this.daychoose) == QianDaoJpanel.getNowDay()) {
//                this.qianDaoJpanel.getQiandao().btntypechange(1);
//                this.qianDaoJpanel.getQiandao().btnchange(1);
//            }
//
//        }
//    }
//
//    public void mousePressed(MouseEvent e) {
//    }
//
//    public void mouseReleased(MouseEvent e) {
//    }
//
//    public void mouseEntered(MouseEvent e) {
//    }
//
//    public void mouseExited(MouseEvent e) {
//    }
//}
